<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        .shadow {
            width: 600px;
            margin: 0 auto;
        }
        .shadow>p {
            color: #fff;
            margin-top: 20px;
            text-align: center;
            font-family: 微软雅黑;
            font-size: 5em;
            line-height: 2em;
            background-color: #676767;
        }
        /* text-shadow: offsetX offsetY blur(模糊) color */
        /* 可以添加多个阴影 用,隔开 */
        .demo1 {
            text-shadow: -2px -2px 0 #000;
        }
        .demo2 {
            text-shadow: 0px 0px 25px #ff4040;
        }
        .demo3 {
            text-shadow: 0px 0px 30px #fff,0px 0px 50px red;
        }
        p[class=demo4] {
            color: black;
            text-shadow: 0px -1px 30px #fff;
        }
        /* 浮雕 立体效果 */
        .demo5 {
            text-shadow: -1px -1px 0px #eee,-2px -2px 0px #ddd,-3px -3px 0px #ccc;
        }
    </style>
</head>
<body>
    <div class="shadow">
        <p class="demo1">中国</p>
        <p class="demo2">中国</p>
        <p class="demo3">中国</p>
        <p class="demo4">中国</p>
        <p class="demo5">中国</p>
    </div>
    
</body>
</html>